using System;
using Server;
using Server.Mobiles;

namespace Server.Items
{
    public class TalkingtoWispsTalisman : BaseTalisman
    {
        public override int LabelNumber { get { return 1073356; } } // Library Talisman - Talking to Wisps
        public override bool ForceShowName { get { return true; } }

        [Constructable]
        public TalkingtoWispsTalisman()
            : base(0x2F5B)
        {
            Blessed = GetRandomBlessed();

            SkillBonuses.SetValues(0, SkillName.SpiritSpeak, 3.0);
            SkillBonuses.SetValues(1, SkillName.EvalInt, 5.0);

            Removal = TalismanRemoval.Ward;
            MaxChargeTime = 1200;
        }

        public TalkingtoWispsTalisman(Serial serial)
            : base(serial)
        {
        }

        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0); // version
        }

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();
        }
    }
}